<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div  align="center">
    <h1>Welcome to index</h1>
    <div>
        <!-- 这里的url是controller层的url -->
        <a th:href="@{/level_1/gotoHtml}">请求level_1</a>
    </div>

    <div>
        <a th:href="@{/level_2/gotoHtml}">请求level_2</a>
    </div>

    <div>
        <a th:href="@{/level_3/gotoHtml}">请求level_3</a>
    </div>

    <!-- 为稍后SpringSecurity的退出登录功能做准备 -->
    <a th:href="@{/logout}">登出</a>

</div>
</body>
</html>